class guijilistbean {
  bool success;
  String message;
  int code;
  List<Result> result;
  int timestamp;

  guijilistbean(
      {this.success, this.message, this.code, this.result, this.timestamp});

  guijilistbean.fromJson(Map<String, dynamic> json) {
    success = json['success'];
    message = json['message'];
    code = json['code'];
    if (json['result'] != null) {
      result = new List<Result>();
      json['result'].forEach((v) {
        result.add(new Result.fromJson(v));
      });
    }
    timestamp = json['timestamp'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['success'] = this.success;
    data['message'] = this.message;
    data['code'] = this.code;
    if (this.result != null) {
      data['result'] = this.result.map((v) => v.toJson()).toList();
    }
    data['timestamp'] = this.timestamp;
    return data;
  }
}

class Result {
  String checkUser;
  int checkId;
  List<CheckGisPos> checkGisPos;

  Result({this.checkUser, this.checkId, this.checkGisPos});

  Result.fromJson(Map<String, dynamic> json) {
    checkUser = json['checkUser'];
    checkId = json['checkId'];
    if (json['checkGisPos'] != null) {
      checkGisPos = new List<CheckGisPos>();
      json['checkGisPos'].forEach((v) {
        checkGisPos.add(new CheckGisPos.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['checkUser'] = this.checkUser;
    data['checkId'] = this.checkId;
    if (this.checkGisPos != null) {
      data['checkGisPos'] = this.checkGisPos.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class CheckGisPos {
  var id;
  var lat;
  var lon;
  var checkId;
  String createTime;
  String checkUser;
  String checkUserName;

  CheckGisPos(
      {this.id,
        this.lat,
        this.lon,
        this.checkId,
        this.createTime,
        this.checkUser,
        this.checkUserName});

  CheckGisPos.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    lat = json['lat'];
    lon = json['lon'];
    checkId = json['checkId'];
    createTime = json['createTime'];
    checkUser = json['checkUser'];
    checkUserName = json['checkUserName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['lat'] = this.lat;
    data['lon'] = this.lon;
    data['checkId'] = this.checkId;
    data['createTime'] = this.createTime;
    data['checkUser'] = this.checkUser;
    data['checkUserName'] = this.checkUserName;
    return data;
  }
}
